package com.wk.warehouse.demo;

import com.wk.warehouse.demo1.OtherConfiguration;
import org.apache.logging.log4j.message.ReusableMessage;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @ClassName OrderConfiguration
 * @Author TanJian
 * @Date 2023/3/23 9:48
 * @Version 1.0
 */
@Configuration
@Import(OtherConfiguration.class)
public class OrderConfiguration {

    @Bean
    public OrderService orderService(){

        return  new OrderService();
    }
}
